<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/2/16
  Time: 18:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page import="java.util.List" %>
<%@ page import="com.zhiyou.model.House" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>公寓系统 - 房屋信息更新</title>
	<link rel="stylesheet" href="../../css/main.css">
	<link rel="stylesheet" href="../../lib/font-awesome/css/font-awesome.css">
</head>
<body>

<div class="box">
	<h3>添加房屋信息</h3>
	<form action="<c:url value="/user/houseUpdate?pageNo=${pageUtil.pageNo}"/>" method="post">
		<table class="form-table">
			<input type="hidden" name="hid" value="${house.hid}">
			<tr>
				<td>所属地区</td>
				<td colspan="3" class="control">
					<input type="text" name="haddress" placeholder="填写地区" value="${house.haddress}">
				</td>
			</tr>
			<tr>
				<td>楼层</td>
				<td colspan="3" class="control">
					<input type="text" name="hfloor" placeholder="小区名字" value="${house.hfloor}">
				</td>
			</tr>
			<tr>
				<td>房间数</td>
				<td colspan="3" class="control">
					<input type="text" name="hroomNum" placeholder="单元号" value="${house.hroomNum}">
				</td>
			</tr>
			<tr>
				<td>地址</td>
				<td colspan="3" class="control">
					<input type="text" name="harea" placeholder="楼层" value="${house.harea}">
				</td>
			</tr>
			<tr>
				<td>面积</td>
				<td colspan="3" class="control">
					<input type="text" name="hdir" placeholder="房间号" value="${house.hdir}">
				</td>
			</tr>
			<tr>
				<td>装修</td>
				<td colspan="3" class="control">
					<input type="text" name="hdeco" placeholder="面积" value="${house.hdeco}">
				</td>
			</tr>
			<tr>
				<td>空气质量</td>
				<td colspan="3" class="control">
					<input type="text" name="hair" placeholder="朝向" value="${house.hair}">
				</td>
			</tr>
			<tr>
				<td>价格</td>
				<td colspan="3" class="control">
					<input type="text" name="hprice" placeholder="装修" value="${house.hprice}">
				</td>
			</tr>
			<tr>
				<td>出租状态</td>
				<td colspan="3" class="control">
					<input type="text" name="hrentStatus" placeholder="是否双气" value="${house.hrentStatus}">
				</td>
			</tr>
			<tr>
				<td>图片</td>
				<td colspan="3" class="control">
					<input type="text" name="himage" placeholder="限住人数" value="${house.himage}">
				</td>
			</tr>
			<tr>
				<td>添加时间</td>
				<td colspan="3" class="control">
					<input type="date" name="haddTime" placeholder="配套设施" value="${house.haddTime}">
				</td>
			</tr>
			<tr>
				<td>更新时间</td>
				<td colspan="3" class="control">
					<input type="date" name="hupdateTime" placeholder="出租价格" value="${house.hupdateTime}">
				</td>
			</tr>
		</table>
		<div class="buttons">
			<input class="btn btn-primary va-bottom" type="submit" value="保存">&nbsp;&nbsp;
			<a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
		</div>
	</form>
</div>
</body>
</html>